#ifndef BLUE_COM
#define BLUE_COM

#include <QThread>

#include <windows.h>

class blue_com : QThread
{
Q_OBJECT

	public:
		blue_com();
		bool open(void);
		void close(void);
		int receive(char *buf);
		bool stopped;
		
		SOCKET server;
		SOCKET client;	
};

#endif